import Vue from "vue";
import VueRouter from "vue-router";
// import Cesium from "../views/Cesium.vue"
Vue.use(VueRouter);

const routes = [

  {
    path: "/layout",
    name: "layout",
    component: () =>
      import("../layout/index"),
    children: [
      

    ]
  },
  {
    path: "/",
    name: "login",
    component: () =>
      import("../views/login"),
  
  },
  {
    path: "/wangzhan",
    name: "wangzhan",
    component: () =>
      import("../views/wangzhan"),
  
  },
];

const router = new VueRouter({
  routes,
});

export default router;
